The old-school reg.exe command-line registry editor command is no longer available in Windows 7 (though you could try to copy it from an XP installation over and see if it runs).
注意事項 •本文提供給進階使用者、系統管理員及 IT 專業人員參考使用。 •匯入登錄項目 (.reg) 檔案是 Regedit.exe 的功能,不受 Regedt32.exe 支援。 您可以使用 Regedit.exe,變更 Windows NT 4.0 或 Windows 2000 電腦上的登錄,但某些變更還是需要使用 Regedt32.exe 才能進行。 例如,您無法使用 Windows NT 4.0 或 Windows 2000 電腦上的 Regedit.exe,新增或變更 REG_EXPAND
Fixing Windows errors, tweaking Windows features, or completely removing a program can sometimes require you to edit the Windows registry. This page provides help with opening and viewing the Windows registry, editing, and deleting registry values.